package com.cq.hd.app.vo;

import com.cq.hd.common.serialize.Decimal2Serializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class AllDataTradeStatisticsVo implements Serializable {

    @ApiModelProperty(value = "总订单金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalOrderAmt = BigDecimal.ZERO;

    @ApiModelProperty(value = "总订单数")
    private Integer totalOrderNum = 0;

    @ApiModelProperty(value = "总下单人数")
    private Integer totalOrderUserNum = 0;

    @ApiModelProperty(value = "已结算补贴金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal totalSubsidyAmt = BigDecimal.ZERO;

    @ApiModelProperty(value = "退款金额")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal refundOrderAmt = BigDecimal.ZERO;

    @ApiModelProperty(value = "退款订单数")
    private Integer refundOrderNum = 0;

    @ApiModelProperty(value = "已结算佣金")
    @JsonSerialize(using = Decimal2Serializer.class)
    private BigDecimal commissionAmt = BigDecimal.ZERO;

}
